

const socket={
    state:{
        socket:{}
    },
    mutations:{
        SET_SOCKET(state,payload){
            state.socket=payload
        }
    },
    getters:{
        GET_SOCKET:state=>state.socket
    },
    actions:{
        async SET_SOCKET({commit},payload){
            commit('SET_SOCKET',payload);
        }

    }

}
export default socket